//
//  CollectionHelper.h
//  cookBook
//
//  Created by xalo on 16/1/25.
//  Copyright © 2016年 张广斌. All rights reserved.
//

#import <Foundation/Foundation.h>
@class Model;
@interface CollectionHelper : NSObject

+ (CollectionHelper *)sharedManager;


//添加到数据库
- (BOOL)insertToSqlitWithModel:(Model *)model ID:(NSString *)ID;

//根据ID删除
- (BOOL)deleteWithID:(NSString *)ID;

//全部删除
- (BOOL)deleteAll;

//根据ID查找
- (Model *)selectWithID:(NSString *)ID;

//查找全部
- (NSArray *)selectAll;




@end
